#if !defined(AFX_SHUTDOWNDLG_H__INCLUDED_)
#define AFX_SHUTDOWNDLG_H__INCLUDED_

#if _MSC_VER >= 1000
#pragma once
#endif // _MSC_VER >= 1000

#include "resource.h"       // main symbols

// CShutDownDlg dialog

class CShutDownDlg : public CDialog
{
public:
	CShutDownDlg(CWnd* pParent = NULL);   // standard constructor
	virtual ~CShutDownDlg();

// Dialog Data
	enum { IDD = IDD_SHUTDOWNBOX };

	CString	m_sUserName;
	CString	m_sTaskName;
	CString	m_sTaskName2;
	CTime	m_dStartTime;
	CTime	m_dStartTime2;
	CTime	m_dStartDate;
	BOOL	m_bActivate;
	BOOL	m_bActivate2;
	CString	m_sProgram;
	CString	m_sProgram2;
	CString	m_sPath;
	CString	m_sPassword;
	CString	m_sParameters;
	CString	m_sParameters2;
	CString	m_sComment;
	int		m_iFreq;
	int		m_taskHour;
	int		m_taskMin;
	int		m_taskHour2;
	int		m_taskMin2;
	UINT	m_wattPerHr;

	virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support

protected:

	virtual BOOL OnInitDialog();
	afx_msg void OnAddTask();
	afx_msg void OnDeleteTask();

	DECLARE_MESSAGE_MAP()
public:
	afx_msg void OnEnChangeWattPerHr();
	afx_msg void OnBnClickedOk();
	afx_msg void OnBnClickedActivateTask();
	afx_msg void OnBnClickedActivateTask2();
};

#endif // !defined(AFX_SHUTDOWNDLG_H__INCLUDED_)

